<template>
  <div class="app-container">
    <div class="content">
      <div @click="turnTo('/statistics/coursebuild')">
        <el-card class="box-card coursebuild">
          <div class="text item">课程建设情况表</div>
        </el-card>
      </div>
      <div @click="turnTo('/statistics/studyschedule')">
        <el-card class="box-card studyschedule">
          <div class="text item">学习进度情况表</div>
        </el-card>
      </div>
      <div @click="turnTo('/statistics/courseUse')">
        <el-card class="box-card courseUse">
          <div class="text item">课程使用数据表</div>
        </el-card>
      </div>
      <div @click="turnTo('/statistics/teacherCorrect')">
        <el-card class="box-card teacherCorrect">
          <div class="text item">教师批改统计表</div>
        </el-card>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  components: {},
  name: 'dataexport',
  data() {
    return {}
  },
  mounted() {
  },
  methods: {
    turnTo(url) {
      this.$router.push({
        path: url
      })
    }
  }
}
</script>
<style scoped lang="scss">
.content {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
}

.box-card {
  width: 262px;
  height: 132px !important;
  border-radius: 20px;
  margin: 0 38px 25px 0;
  font-weight: 600;
  font-size: 26px;
  color: #ffffff;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.44);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.studyschedule {
  background-image: url("../../../assets/images/studyprogress.png");
  background-size: cover;
}

.coursebuild {
  background-image: url("../../../assets/images/coursebuild.png");
  background-size: cover;
}

.courseUse {
  background-image: url("../../../assets/images/courseUse.png");
  background-size: cover;
}

.teacherCorrect {
  background-image: url("../../../assets/images/teacherCorrect.png");
  background-size: cover;
}
</style>
